package com.lxmes.device.domain;

import com.lxmes.common.annotation.Excel;
import com.lxmes.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 设备故障报修单对象 device_failure_report
 * 
 * @author 张志煜
 * @date 2022-04-18
 */
@ApiModel(value = "DeviceFailureReport", description = "设备故障报修单")
public class DeviceFailureReport extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 设备故障id */
    private Long id;

    /** 报修单号 */
    @Excel(name = "报修单号")
    private String reportId;

    /** 设备编码 */
    @Excel(name = "设备编码")
    @ApiModelProperty("设备编码")
    private String deviceCode;

    /** 设备名称 */
    @Excel(name = "设备名称")
    @ApiModelProperty("设备名称")
    private String deviceName;

    /** 规格型号 */
    @Excel(name = "规格型号")
    @ApiModelProperty("规格型号")
    private String deviceModel;

    /** 使用部门 */
    @Excel(name = "使用部门")
    @ApiModelProperty("使用部门")
    private String useDept;

    /** 报修人 */
    @Excel(name = "报修人")
    @ApiModelProperty("报修人")
    private String reportName;

    /** 联系方式 */
    @Excel(name = "联系方式")
    @ApiModelProperty("联系方式")
    private String reportPhone;

    /** 设备位置 */
    @Excel(name = "设备位置")
    @ApiModelProperty("设备位置")
    private String devicePosition;

    /** 发生时间 */
    @Excel(name = "发生时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("发生时间")
    private String occurrenceTime;

    /** 是否停机 */
    @Excel(name = "是否停机")
    @ApiModelProperty("是否停机")
    private String isShutDown;

    /** 故障描述 */
    @Excel(name = "故障描述")
    @ApiModelProperty("故障描述")
    private String faultDescription;

    /** 故障图片 */
    @Excel(name = "故障图片")
    @ApiModelProperty("故障图片")
    private String faultImg;

    /** 报修语音 */
    @Excel(name = "报修语音")
    @ApiModelProperty("报修语音")
    private String reportVoice;

    /** 维修班组 */
    @Excel(name = "维修班组")
    @ApiModelProperty("维修班组")
    private String wxDept;

    /** 紧急程度 */
    @Excel(name = "紧急程度")
    @ApiModelProperty("紧急程度")
    private String faultUrgency;

    /** 故障等级 */
    @Excel(name = "故障等级")
    @ApiModelProperty("故障等级")
    private String faultLevel;

    /** 故障类别 */
    @Excel(name = "故障类别")
    @ApiModelProperty("故障类别")
    private String faultType;

    /** 所属组织 */
    @Excel(name = "所属组织")
    private Long deptId;

    /** 处理进度 */
    @Excel(name = "处理进度")
    @ApiModelProperty(value = "处理进度 0-待接单1-待执行2-维修中3-待评价4-完成5-驳回")
    private String faultProgress;

    /** 主修人 */
    @Excel(name = "主修人")
    private String major;

    /** 主修人id */
    @Excel(name = "主修人id")
    private Long majorId;
    private String userId;
    /** 辅助维修人id */
    private String fzMajorIds;
    /** 辅助维修人名字 */
    private String fzMaJors;
    private String queryParams;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setReportId(String reportId) 
    {
        this.reportId = reportId;
    }

    public String getReportId() 
    {
        return reportId;
    }
    public void setDeviceCode(String deviceCode) 
    {
        this.deviceCode = deviceCode;
    }

    public String getDeviceCode() 
    {
        return deviceCode;
    }
    public void setDeviceName(String deviceName) 
    {
        this.deviceName = deviceName;
    }

    public String getDeviceName() 
    {
        return deviceName;
    }
    public void setDeviceModel(String deviceModel) 
    {
        this.deviceModel = deviceModel;
    }

    public String getDeviceModel() 
    {
        return deviceModel;
    }
    public void setUseDept(String useDept) 
    {
        this.useDept = useDept;
    }

    public String getUseDept() 
    {
        return useDept;
    }
    public void setReportName(String reportName) 
    {
        this.reportName = reportName;
    }

    public String getReportName() 
    {
        return reportName;
    }
    public void setReportPhone(String reportPhone) 
    {
        this.reportPhone = reportPhone;
    }

    public String getReportPhone() 
    {
        return reportPhone;
    }
    public void setDevicePosition(String devicePosition) 
    {
        this.devicePosition = devicePosition;
    }

    public String getDevicePosition() 
    {
        return devicePosition;
    }
    public void setOccurrenceTime(String occurrenceTime)
    {
        this.occurrenceTime = occurrenceTime;
    }

    public String getOccurrenceTime()
    {
        return occurrenceTime;
    }
    public void setisShutDown(String isShutDown) 
    {
        this.isShutDown = isShutDown;
    }

    public String getisShutDown() 
    {
        return isShutDown;
    }
    public void setFaultDescription(String faultDescription) 
    {
        this.faultDescription = faultDescription;
    }

    public String getFaultDescription() 
    {
        return faultDescription;
    }
    public void setFaultImg(String faultImg) 
    {
        this.faultImg = faultImg;
    }

    public String getFaultImg() 
    {
        return faultImg;
    }
    public void setReportVoice(String reportVoice) 
    {
        this.reportVoice = reportVoice;
    }

    public String getReportVoice() 
    {
        return reportVoice;
    }
    public void setWxDept(String wxDept) 
    {
        this.wxDept = wxDept;
    }

    public String getWxDept() 
    {
        return wxDept;
    }
    public void setFaultUrgency(String faultUrgency) 
    {
        this.faultUrgency = faultUrgency;
    }

    public String getFaultUrgency() 
    {
        return faultUrgency;
    }
    public void setFaultLevel(String faultLevel) 
    {
        this.faultLevel = faultLevel;
    }

    public String getFaultLevel() 
    {
        return faultLevel;
    }
    public void setFaultType(String faultType) 
    {
        this.faultType = faultType;
    }

    public String getFaultType() 
    {
        return faultType;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setFaultProgress(String faultProgress) 
    {
        this.faultProgress = faultProgress;
    }

    public String getFaultProgress() 
    {
        return faultProgress;
    }
    public void setMajor(String major) 
    {
        this.major = major;
    }

    public String getMajor() 
    {
        return major;
    }
    public void setMajorId(Long majorId) 
    {
        this.majorId = majorId;
    }

    public Long getMajorId() 
    {
        return majorId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getFzMajorIds() {
        return fzMajorIds;
    }

    public void setFzMajorIds(String fzMajorIds) {
        this.fzMajorIds = fzMajorIds;
    }

    public String getFzMaJors() {
        return fzMaJors;
    }

    public void setFzMaJors(String fzMaJors) {
        this.fzMaJors = fzMaJors;
    }

    public String getQueryParams() {
        return queryParams;
    }

    public void setQueryParams(String queryParams) {
        this.queryParams = queryParams;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("reportId", getReportId())
            .append("deviceCode", getDeviceCode())
            .append("deviceName", getDeviceName())
            .append("deviceModel", getDeviceModel())
            .append("useDept", getUseDept())
            .append("reportName", getReportName())
            .append("reportPhone", getReportPhone())
            .append("devicePosition", getDevicePosition())
            .append("occurrenceTime", getOccurrenceTime())
            .append("isShutDown", getisShutDown())
            .append("faultDescription", getFaultDescription())
            .append("faultImg", getFaultImg())
            .append("reportVoice", getReportVoice())
            .append("wxDept", getWxDept())
            .append("faultUrgency", getFaultUrgency())
            .append("faultLevel", getFaultLevel())
            .append("faultType", getFaultType())
            .append("deptId", getDeptId())
            .append("faultProgress", getFaultProgress())
            .append("major", getMajor())
            .append("majorId", getMajorId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
